package com.zcx.util;

import java.text.SimpleDateFormat;
import java.util.Date;


public class TimeUtil {

    public static String yyyyMMdd(){
        return new SimpleDateFormat("yyyyMMdd").format(new Date());
    }

    public static String yyyy_MM_dd_HH_mm_ss(){
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
    }

}
